// 药材分类
export const HERB_CATEGORIES = [
  { id: 'cao', name: '草部', description: '草本类药材，如人参、黄芪、当归等' },
  { id: 'mu', name: '木部', description: '木本类药材，如肉桂、厚朴、杜仲等' },
  { id: 'ren', name: '人部', description: '人体来源药材，如人乳、紫河车等' },
  { id: 'shi', name: '石部', description: '矿物类药材，如石膏、赭石等' },
  { id: 'jin', name: '金部', description: '金属矿物类药材，如磁石、铅丹等' },
  { id: 'shui', name: '水部', description: '水生或水产类药材，如海蛤、珍珠等' },
  { id: 'huo', name: '火部', description: '经火处理类药材' },
  { id: 'tu', name: '土部', description: '泥土类药材，如赤石脂、白垩等' },
  { id: 'chong', name: '虫部', description: '昆虫类药材，如蝉蜕、地龙等' },
  { id: 'lin', name: '鳞部', description: '鱼类药材，如鲤鱼等' },
  { id: 'jia', name: '甲部', description: '甲壳类药材，如龟甲、鳖甲等' },
  { id: 'qiu', name: '禽部', description: '鸟禽类药材，如鸡内金等' },
  { id: 'shou', name: '兽部', description: '兽类药材，如鹿茸、虎骨等' },
  { id: 'guo', name: '果部', description: '果实类药材，如陈皮、五味子等' },
  { id: 'mi', name: '米部', description: '谷米类药材，如粳米、小麦等' },
  { id: 'cai', name: '菜部', description: '蔬菜类药材，如葱白、韭菜等' },
  { id: 'jun', name: '菌部', description: '真菌类药材，如茯苓、猪苓等' }
];

// 药性分类
export const HERB_PROPERTIES = {
  性: ['热', '温', '平', '凉', '寒'],
  味: ['酸', '苦', '甘', '辛', '咸', '淡']
};

// 药材功效分类
export const HERB_FUNCTIONS = [
  { id: 'bu', name: '补养药', description: '补气血、养阴阳的药物' },
  { id: 'qing', name: '清热药', description: '清热泻火、凉血解毒的药物' },
  { id: 'wen', name: '温里药', description: '温中散寒、回阳救逆的药物' },
  { id: 'xie', name: '泻下药', description: '通便排毒的药物' },
  { id: 'li', name: '利水渗湿药', description: '利尿、祛湿的药物' },
  { id: 'qu', name: '祛风湿药', description: '祛风除湿、通络止痛的药物' },
  { id: 'huo', name: '活血化瘀药', description: '活血、化瘀、通经的药物' },
  { id: 'hua', name: '化痰止咳平喘药', description: '化痰、止咳、平喘的药物' },
  { id: 'an', name: '安神药', description: '宁心安神的药物' },
  { id: 'kai', name: '开窍药', description: '开窍醒神的药物' },
  { id: 'jian', name: '健脾药', description: '健脾和胃的药物' },
  { id: 'zhen', name: '镇惊药', description: '镇静安神的药物' },
  { id: 'shou', name: '收敛药', description: '收敛固涩的药物' },
  { id: 'xiao', name: '消食药', description: '消食导滞的药物' },
  { id: 'fa', name: '发散药', description: '发散风寒的药物' },
  { id: 'zhi', name: '止血药', description: '止血涩血的药物' }
];

// 药材关系类型
export const RELATION_TYPES = [
  { id: 'xiangXu', name: '相须', description: '两药配伍，共同协作，增强疗效', color: '#4CAF50' },
  { id: 'xiangShi', name: '相使', description: '一药为主，一药为辅，辅药增强主药效力', color: '#2196F3' },
  { id: 'xiangWei', name: '相畏', description: '一药被另一药所克制，减轻毒性或副作用', color: '#FFC107' },
  { id: 'xiangE', name: '相恶', description: '两药配伍，互相抵触，降低疗效', color: '#F44336' },
  { id: 'xiangFan', name: '相反', description: '两药配伍，会产生毒性或副作用', color: '#9C27B0' },
  { id: 'xiangSha', name: '相杀', description: '一药可解除另一药的毒性', color: '#FF9800' },
  { id: 'xiangChen', name: '相陈', description: '配合使用可加强药效或减轻副作用', color: '#607D8B' }
]; 